package com.ytjj.qmyx.supplychain.common.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ytjj.qmyx.supplychain.common.model.request.YxAssignFreight;
import com.ytjj.qmyx.supplychain.common.model.request.YxAstrictRegion;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class YxFreightTemplateResponse{

    private Integer id;

    private String templateName;

    private Integer freightWay;

    private Integer billingWay;

    private Integer amount;

    private BigDecimal freight;

    private Integer continues;

    private BigDecimal renew;

    private Integer quantify;

    private Integer defaults;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
    private Date updateDate;

    private List<YxAssignFreight> assignFreightList;

    private Integer productDataResponses;

    private YxAstrictRegion astrictRegion;
}
